package dfbz.demo01;

public class Test02 {
    public static void main(String[] args) {
        String str1="abc";
        String str2="cdf";
        String str3=new String("abc");
        String str4=new String("cdf");
        System.out.println(str1==str2);
        System.out.println(str1==str3);
        System.out.println(str3==str4);
    }
}
